package sk.openit.xml.jaxp.sax;

import sk.openit.xml.entity.DbConfig;

public class RunApp {

	public static void main(String[] args) {
//		DbConfigReaderEchoOnly sax = new DbConfigReaderEchoOnly("database-config.xml");
//		sax.process();

		DbConfigReader sax = new DbConfigReader("database-config.xml");
		sax.process();
		DbConfig dbConfig = sax.getConfig();
		System.out.println(dbConfig);
	}
}
